#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cctype>


using namespace std;


int main()
{
    int vector_size;
    
    while (cin >> vector_size)
    {
          vector<string> svec(vector_size, "");
          
          //input string to vector
          for(vector<string>::iterator itr = svec.begin(); itr != svec.end(); 
							   ++itr)
          {
                   //cin >> *itr >> endl;  endl cannot be inputed
                   cin >> *itr; 
          }
          
          //capitalize string
          for(vector<string>::iterator itr = svec.begin(); itr != svec.end(); 
							   ++itr)
          {

          }
                                      
          for(vector<string>::iterator itr = svec.begin(); itr != svec.end(); 
							   ++itr)
          {
                   cout << *itr << endl;
          }
           
          
    }
          
    system("pause");
    
    return 0;
} 


